<template>
  <div id="app">
    <keep-alive include="examexam">
      <router-view ref="currRoutePage"> </router-view>
    </keep-alive>
  </div>
</template>

<script>
import {
  delGZ,
  delTi,
  delsubject_id,
  delsubjectTitle,
  delapplyid,
  delSetting,
  delwxopenid,
  delisphoto,
  delexamSetting,
  getlearnObject,
  dellearnObject,
} from "./utils/auth.js";
export default {
  name: "App",
  created() {
    if (getlearnObject()) {
      dellearnObject();
    }
  },
  beforeDestroy() {
    // delapplyid();
    delexamSetting();
    dellearnObject();
  },
};
</script>
